﻿namespace ShareHelper.HttpHelper
{
    /// <summary>
    ///
    /// </summary>
    public class HeaderKey
    {
        /// <summary>
        ///
        /// </summary>
        public const string Accept = "Accept";

        /// <summary>
        ///
        /// </summary>
        public const string AcceptEncoding = "Accept-Encoding";

        /// <summary>
        ///
        /// </summary>
        public const string AcceptLanguage = "Accept-Language";

        /// <summary>
        ///
        /// </summary>
        public const string CacheControl = "Cache-Control";

        /// <summary>
        ///
        /// </summary>
        public const string CLIENT_IP = "CLIENT_IP";

        /// <summary>
        ///
        /// </summary>
        public const string ContentType = "Content-Type";

        /// <summary>
        ///
        /// </summary>
        public const string Cookie = "Cookie";

        /// <summary>
        ///
        /// </summary>
        public const string Origin = "Origin";

        /// <summary>
        ///
        /// </summary>
        public const string Referer = "Referer";

        /// <summary>
        ///
        /// </summary>
        public const string REMOTE_ADDR = "REMOTE_ADDR";

        /// <summary>
        ///
        /// </summary>
        public const string SetCookie = "Set-Cookie";

        /// <summary>
        ///
        /// </summary>
        public const string UserAgent = "User-Agent";

        /// <summary>
        ///
        /// </summary>
        public const string VIA = "VIA";

        /// <summary>
        ///
        /// </summary>
        public const string XForwardedFor = "X-Forwarded-For";

        /// <summary>
        ///
        /// </summary>
        public const string Xrequestedwith = "x-requested-with";
    }

    /// <summary>
    ///
    /// </summary>
    public class HeaderValue
    {
        /// <summary>
        ///
        /// </summary>
        public const string Accept = "*/*";

        /// <summary>
        ///
        /// </summary>
        public const string AcceptEncoding = "utf-8";

        /// <summary>
        ///
        /// </summary>
        public const string AcceptLanguage = "zh-cn";

        /// <summary>
        ///
        /// </summary>
        public const string CacheControl = "no-cache";

        /// <summary>
        ///
        /// </summary>
        public const string ContentType = "application/x-www-form-urlencoded";

        /// <summary>
        ///
        /// </summary>
        public const string UserAgent = "Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2)";

        /// <summary>
        ///
        /// </summary>
        public const string XMLHttpRequest = "XMLHttpRequest";
    }
}